body{
    min-width: 320px;
    max-width: 750px;
    margin: 0 auto;
    background: #f2f2f2;
    line-height: 1.5;
    height: 1200px;

}
a{
    text-decoration: none;
}
// 当前是按照iphone678 375px来进行换算的 设置75也行，37.5也可以
// 引入了flexible.js时是按照设备大小缩放的，约束：当屏幕大于750px是html字体文字为75px
@media screen and (min-width:750px) {
    html{
        font-size: 37.5px !important;
    }
}
// header
header{
    width: 100%;
    height: .8rem;
    line-height: .8rem;
    text-align: center;
    h2{
        font-size: .533333rem;
    }
}
// nav
nav{
    display: flex;
    flex-wrap: wrap;
    margin-top: .533333rem  ;
    a{
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 33.33%;
        img{
            width: 1.066667rem;
            height: 1.066667rem;
        }
        span{
            font-size: .373333rem;
            margin: .133333rem 0;
            color: #666;
        }
    }
}
.bundle{
    .swiper-container {
        // 根据需求把宽度修改为540px
        width: 14.4rem;
        // width: 100%;
        height: 100%;
      }
      .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #fff;
  
        /* Center slide text vertically */
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
        transition: 300ms;
        // 其余兄弟缩放
        transform: scale(0.8);
        // 透明度
        opacity: 0.3;
        a{
            width: 9.013333rem;
            height: 10.026667rem;
            img{
                width: 100%;
                height: 100%;
            }
        }
        p{
            width: 9.013333rem;
            font-size: .32rem;
            display: none;

        }
       
      }
    //   当前选中的中间的图片缩放，其余缩放为0.8
      .swiper-slide-active,.swiper-slide-duplicate-active{
        transform: scale(1);
        z-index: 999;
        opacity: 1;
        p{
            display: block;
        }
      }
}
.study{
    margin-top: .533333rem;
  padding: 0 .533333rem;
  
      .swiper-slide {
        width: 7.733333rem;
        height: 9.066667rem;
        
        text-align: center;
        font-size: 18px;
        background: #fff;
        border-radius: .266667rem;
        box-shadow: 0 0 10px rgba(255,255,255,.1);

        /* Center slide text vertically */
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
      }
}